Release 10.1A: OpenEdge Development:
Debugging and Troubleshooting
Logged information
Event logging records information about the following types of actions as they apply to an event:
- Event occurs — Either the client receives notification of an external event or the OpenEdge 4GL executes an
APPLYstatement.- Indirect action taken — The client takes additional action in response to the event. For example, on a Windows minimize event, the client might minimize several other related windows.
- OpenEdge event pushed onto stack — The internal events that result from external events, such as
LEAVEandENTRY, are pushed onto the stack, from where they will be executed in sequence.- Event popped from stack without executing — In certain cases, OpenEdge does not execute events on the stack. For example:
- An event occurs to a object that is disabled. OpenEdge pushes the event onto the stack, and then pops it off the stack without executing the corresponding trigger, if one exists.
- Other examples: a trigger executes a
RETURN NO-APPLYstatement; a COM event occurs during a database or socket operation; a field’s validation fails.- Trigger started — Begins execution of the user interface trigger associated with the event.
- Event applied by APPLY statement — OpenEdge logs each execution of an
APPLYstatement by a 4GL program. Frequently, an application calls anAPPLYstatement from within a user-defined trigger.- Trigger finished — Ends execution of the user interface trigger associated with the event.
- Event popped off stack — Concludes a specific event execution.
The order of actions presented here is typical of what might appear in a log. Note, however, that not all actions occur for every event. An external event starts all of the actions that occur in an event-driven program, except for initialization. Thus, you would always expect to find in the log:
Table 6–3 lists the information that is logged for each of the described actions. Note that the term object refers to the object that the event applies to.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |